package com.usian.mapper;

import com.usian.pojo.Users;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


public interface UsersMapper extends tk.mybatis.mapper.common.Mapper<Users>{
    @Delete("delete from users where id=#{value}")
    void deletes(Integer id);

    @Select("select * from users where id=#{value}")
    Users selectByid(Integer id);
}
